package com.bdqn.t382.proxy;

//import net.sf.cglib.proxy.MethodInterceptor;
//import net.sf.cglib.proxy.MethodProxy;

import org.apache.log4j.Logger;

import java.lang.reflect.Method;

public class IntermediaryMethodInterceptor {
    private Logger logger = Logger.getLogger(IntermediaryMethodInterceptor.class);
//
//    @Override
//    public Object intercept(Object proxy, Method method, Object[] args, MethodProxy methodProxy)
//            throws Throwable {
//        before();
//        // 调用父类原始的方法
//        Object feedback = methodProxy.invokeSuper(proxy, args);
//        after();
//        return "看房记录：买家反馈“" + feedback + "”";
//    }

    private void after() {

    }

    private void before() {

    }
}
